翻訳と辞書
Words near each other
・ Magical Mystery Tour
・ Magical Mystery Tour (film)
・ Magical Mystery Tour (song)
・ Magical Mystery Tours
・ Magical Negro
・ Magical objects in Harry Potter
・ Magical Orchestra
・ Magic star
・ Magic Steps
・ Magic Stick
・ Magic Stone Productions
・ Magic Stones
・ Magic store
・ Magic Storm Entertainment
・ Magic Street
Magic string
・ Magic Study
・ Magic sword
・ Magic sword (disambiguation)
・ Magic Sword (video game)
・ Magic Symphony
・ Magic SysRq key
・ Magic System
・ Magic system
・ Magic Tape
・ Magic tee
・ Magic temperament
・ Magic Temple
・ Magic Temple (film series)
・ Magic Theatre


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Magic string : ウィキペディア英語版
Magic string
A magic string is an input that a programmer believes will never come externally and which activates otherwise hidden functionality. A user of this program would likely provide input that gives an expected response in most situations. However, if the user does in fact innocently provide the pre-defined input, invoking the internal functionality, the program response is often quite unexpected to the user (thus appearing "magical").
== Background ==
The term comes from the fact that this type of problem is often seen in Windows Forms with editable text boxes for input. Normally such errors occur as a result of time constraints. A developer must find a fast solution instead of delving more deeply into a problem and finding a better solution.
For example, when testing a program that took a user's personal details and verified their given credit card number, a developer may decide to add a magic string shortcut whereby entering the unlikely input of "
*
*
*" as a credit card number would cause the program to automatically proceed as if the card was valid, without spending time verifying it. If the developer forgets to remove the magic string, and a user of the final program happens to enter "
*
*
*" as a placeholder credit card number while filling in the form, the user would inadvertently trigger the hidden functionality.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Magic string」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.